package com.tedu.bill.demo1;

/**
 * Author：毕龙
 * Date: 2024/5/9 20:41
 */
public class TestFinalize {
    public static void main(String[] args) {
        Teacher t1 = new Teacher();
        // new Teacher()  是一个垃圾
        t1 = null;

        //手动垃圾回收
        System.gc();

    }
}
